package com.lx.gulimall.product.vo;

import com.lx.gulimall.product.entity.SkuImagesEntity;
import com.lx.gulimall.product.entity.SkuInfoEntity;
import com.lx.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author lixun Email:lx3027@126.com
 * @create 2021-07-29 17:19
 */
@Data
public class SkuItemVo {

    // 1.sku 基本信息  对应数据库 pms_sku_info
    private SkuInfoEntity info;

    private boolean hasStock = true;

    // 2.sku 图片信息 pms_sku_images
    private List<SkuImagesEntity> images;

    // 3.sku的销售属性组合
    private List<SkuItemSaleAttrsVo> saleAttr;

    // 4.获取spu的介绍
    private SpuInfoDescEntity desc;

    // 5.获取spu规格参数信息
    private List<SpuItemAttrGroupAttrVo> groupAttrs;

    private SeckillInfoVo seckillInfo;

}
